package com.yun.zf.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.zf.common.admin.domain.ZfSchools;
import com.yun.zf.common.admin.dto.community.CommunitySchoolsDto;
import com.yun.zf.common.admin.model.community.CommunitySchoolsMo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cj
 * @since 2021-05-12
 */
public interface ZfSchoolsService extends IService<ZfSchools> {

    public int addCommunitySchools(CommunitySchoolsMo schoolsMo);

    public List<String> getSchools(Long communityId);

    public List<CommunitySchoolsDto> getCommunitySchools(Long communityId);

    int delByCommunityId(Long communityId);

    int delSchoolById(Long id);
}
